package org.yray.sip.rtp.data;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class MediaSpeaker {

    private Map<String,byte[]> wavMap=new ConcurrentHashMap<>();


    public void putWav(String wavId,byte[] bs)
    {
        wavMap.put(wavId,bs);
    }

    public byte[] getWav(String wavId)
    {
        return wavMap.get(wavId);
    }

    public void cleanWav()
    {
        wavMap.clear();
    }


}
